package com.zy.teacher.mapper;

import com.zy.teacher.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zy.teacher.entity.vo.CourseWebVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author guli
 * @since 2019-08-21
 */
//添加这个注解是把接口注入到spring容器中
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    //根据id查询课程基本信息
    CourseWebVo getFrontCourseInfoId(String id);

}
